<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>
<% if show_row == @current_ingredient %>
  <%= render(:partial => "ingredients/edit_ingredient_row", :object => show_row) %>
<% else %>
<tr>
   <td width="20%"><%=h show_row.name %></td>
   <td width="15%"><%=h show_row.amount %></td>
   <td width="15%"><%=h show_row.amount_unit %></td>
   <td width="35%"><%=h show_row.notes %></td>
   <td width="15%">
      <%#= link_to 'Edit', edit_ingredient_path(show_row) %>
      <% form_remote_tag :url => {:action => "edit_recipe_edit_ingredient", :id=>show_row} do %>
         <%= submit_tag "Edit" %>
      <% end %>
   </td>
</tr>
<% end  %>